package sdk.webview.fmc.com.fmcsdk.interfaces;

import sdk.webview.fmc.com.fmcsdk.base.BaseView;
import sdk.webview.fmc.com.fmcsdk.bean.AgreementBean;
import sdk.webview.fmc.com.fmcsdk.bean.SysSettingsInfoBean;

/**
 * 登录接口回调
 * Created by ydm on 2017/8/4.
 */

public interface LoginView extends BaseView {
    //登录成功
    void loginSuccess();

    //连接失败
    void connentError(Throwable e);

    void sysSettingsInfoSuccess(SysSettingsInfoBean settingsInfoBean);

    void sysSettingsInfoFail();

    void agreementContent(AgreementBean recordsBean);

    void AgreementDiffer();

    void getXiYouSSOSettingSuccess(boolean flag);

    void checkBuUnamepwdSuccess(String username);

    void checkBuUnamepwdFailure(String code, String username);

    void getTipsSuccess(String pattern);

    void updatePwdSuccess();

    void sendSmsSuccess();

    void sendSmsFail();

    void sysSettingsInfoFaiture();

    void sysSettingsInfoSucess();
    void loginSuccessSuccess(String token);
}
